package com.lwlk.zdk.mapper.pw;

import com.lwlk.zdk.model.pw.pwDriver;
import com.lwlk.zdk.model.pw.pwDriverExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface pwDriverMapper {
    int countByExample(pwDriverExample example);

    int deleteByExample(pwDriverExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(pwDriver record);

    int insertSelective(pwDriver record);

    List<pwDriver> selectByExample(pwDriverExample example);

    pwDriver selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") pwDriver record, @Param("example") pwDriverExample example);

    int updateByExample(@Param("record") pwDriver record, @Param("example") pwDriverExample example);

    int updateByPrimaryKeySelective(pwDriver record);

    int updateByPrimaryKey(pwDriver record);

    List<pwDriver> selectDriver();

    pwDriver selectDriverMessage(@Param("vehicleNumber") String vehicleNumber);
}